/**
 * 
 */
package com.medical.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.github.pagehelper.PageInfo;
import com.medical.service.ServiceFacilityInfoService;

/**
 * @author 冯鑫
 *
 */
@Controller
public class ServiceFacilityInfoController {
		
	@Autowired
	ServiceFacilityInfoService serviceFacilityInfoService;
	
	@ResponseBody
	@RequestMapping(value="/serviceFacilityInfo",method = RequestMethod.GET)
	public PageInfo selectAllFacility() throws Exception {
		PageInfo pageInfo = serviceFacilityInfoService.selectAllFacility();
		
		System.out.println(pageInfo);
		
		return pageInfo;
	}
	
	
}
